<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh" ng-app="delegateApp">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="MainPage">
    <meta name="author" content="Duke li">
    <title>教师代表 - 首页</title>

    <link rel="stylesheet" href="../../css/ztree_metro/metroStyle.css">
    <link rel="stylesheet" href="../../css/sbadmin/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/sbadmin/font-awesome.min.css">
    <link rel="stylesheet" href="../../css/sbadmin/metisMenu.min.css">
    <link rel="stylesheet" href="../../css/sbadmin/sb-admin-2.css">
    <link rel="stylesheet" href="../../css/sbadmin/timeline.css">
    <link rel="stylesheet" href="../../css/sbadmin/morris.css">
    <link rel="stylesheet" href="../../css/bootstrap-modal-bs3patch.css">
    <link rel="stylesheet" href="../../css/bootstrap-modal.css">
    <link rel="stylesheet" href="../../css/bootstrap-datepicker3.css">

    <!--[if lt IE 9]>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <script src="../../js/lib/jquery-1.12.0.js"></script>

    <script src="../../js/lib/jquery.ztree.core.js"></script>
    <script src="../../js/lib/jquery.ztree.excheck.js"></script>

    <script src="../../js/lib/bootstrap.min.js"></script>
    <script src="../../js/lib/bootstrap-modalmanager.js"></script>
    <script src="../../js/lib/bootstrap-modal.js"></script>
    <script src="../../js/lib/bootstrap-datepicker.js"></script>
    <script src="../../locales/bootstrap-datepicker.zh-CN.min.js"></script>
    <script src="../../js/lib/bootbox.js"></script>
    <script src="../../js/lib/metisMenu.min.js"></script>
    <script src="../../js/lib/sb-admin-2.js"></script>
    <script src="../../js/lib/raphael-min.js"></script>
    <script src="../../js/lib/morris.min.js"></script>

    <script src="../../js/lib/angular.js"></script>
    <script src="../../js/lib/angular-route.js"></script>
    <script src="../../js/lib/ng-flow-standalone.min.js"></script>
    <script src="../../js/lib/ngBootbox.js"></script>

    <script src="../../js/lib/wangEditor.min.js"></script>

    <script src="../../js/util/ShowAlert.js"></script>

    <script src="../../js/delegate/routeProvider.js"></script>
    <script src="../../js/delegate/MainContentCtrl.js"></script>
    <script src="../../js/delegate/CreateProposalCtrl.js"></script>
    <script src="../../js/delegate/UpdateProposalCtrl.js"></script>
    <script src="../../js/delegate/ViewMessagesCtrl.js"></script>
    <script src="../../js/delegate/MyProposalCtrl.js"></script>
    <script src="../../js/delegate/MyDraftCtrl.js"></script>
    <script src="../../js/delegate/CheckProposalsCtrl.js"></script>
    <script src="../../js/delegate/CheckProposalCtrl.js"></script>
    <script src="../../js/delegate/ViewProposalCtrl.js"></script>

    <script src="../../js/delegate/queryProposal/QueryWaitMotionProposalCtrl.js"></script>
    <script src="../../js/delegate/queryProposal/QueryPuttedIntoEffectProposalCtrl.js"></script>
    <script src="../../js/delegate/queryProposal/ProposalSearchCtrl.js"></script>

    <script src="../../js/delegate/systemConfig/SystemConfigCtrl.js"></script>
    <script src="../../js/delegate/systemConfig/RoleManageCtrl.js"></script>

    <script src="../../js/delegate/handleRegist/HandleRegistListCtrl.js"></script>
    <script src="../../js/delegate/handleRegist/RegistProposalCtrl.js"></script>

    <script src="../../js/delegate/myDepartment/AssistProposalsCtrl.js"></script>
    <script src="../../js/delegate/myDepartment/ProposalFeedbackCtrl.js"></script>
    <script src="../../js/delegate/myDepartment/PuttedIntoEffectProposalsCtrl.js"></script>
    <script src="../../js/delegate/myDepartment/WaitFeedbackProposalsCtrl.js"></script>

    <script src="../../js/delegate/otherArticle/ArticleListCtrl.js"></script>
    <script src="../../js/delegate/otherArticle/ArticleCreationCtrl.js"></script>
    <script src="../../js/delegate/otherArticle/ArticleDetailCtrl.js"></script>
    <script src="../../js/delegate/otherArticle/NoticeListCtrl.js"></script>
    <script src="../../js/delegate/otherArticle/NoticeCreationCtrl.js"></script>
    <script src="../../js/delegate/otherArticle/KnowledgeListCtrl.js"></script>
    <script src="../../js/delegate/otherArticle/KnowledgeCreationCtrl.js"></script>

    <script>
        delegateApp.directive('metis', function ($timeout) {
            return function (scope, element, attrs) {
                if (scope.$last == true) {
                    $timeout(function () {
                        $('#side-menu').metisMenu();
                    }, 250);
                }
            };
        });
        delegateApp.controller('NavCtrl', function ($rootScope, $scope, $http) {
            $scope.newMessagesCount = 0;
            $scope.newMessageList = [];
            $rootScope.delegate = {};

            <%-- 导航栏的元素,根据用户的permission列表生成 --%>
            $scope.navCategory = [];
            var generateCategory = function(permissions) {
                var category = $scope.navCategory;
                permissions.sort(function (a, b) {
                    var numA = parseInt(a.category);
                    var nubB = parseInt(b.category);

                    if(numA > nubB) {
                        return 1;
                    } else {
                        return -1;
                    }
                });
                for (var i = 0; i < permissions.length; i++) {
                    var permission = permissions[i];
                    var element = {
                        id : permission.category,
                        description : permission.description,
                        icon : permission.icon,
                        href : permission.href,
                        child : []
                    };
                    if (permission.category.length == 2) {
                        category.push(element);
                    } else {
                        var index = permission.category.slice(0, 2);
                        for (var j = 0; j < category.length; j++) {
                            if (category[j].id == index) {
                                category[j].child.push(element);
                            }
                        }
                    }
                }
            };

            //获取登录者的信息
            $http.get('/delegate/' + '${sessionScope.loginUserId}')
                    .success(function (data) {
                        $rootScope.delegate = data;
                        generateCategory($rootScope.delegate.role.permissions);
                    }).error(function () {
                        showAlert('获取信息失败', '从服务器获取您的用户信息失败!请联系系统维护人员!');
                    }
            );
            $rootScope.getLocalTime = function (ns) {
                console.log("妈的还有人在用过时的方法!getLocalTime");
                return new Date(parseInt(ns)).toLocaleString().replace(/:\d{1,2}$/,'');
            };
            /*
             * 设置枚举对应文字
             */
            $rootScope.enums = {};
            $http.get('/template/messageTypeEnum.json').success(function (data) {
                $rootScope.enums.messageType = data;
            });
            $http.get('/template/proposalTypeEnum.json').success(function (data) {
                $rootScope.enums.proposalType = data;
            });
            $http.get('/template/proposalStateEnum.json').success(function (data) {
                $rootScope.enums.proposalState = data;
            });
            /*
             * 获取未读消息条目
             */
            $http.get('/messages/new/count')
                    .success(function (data) {
                        $scope.newMessagesCount = data;
                        if ($scope.newMessagesCount > 0) {
                            $('#newMessageBadge').text($scope.newMessagesCount);
                        }
                    }).error(function () {
                        showAlert('获取信息失败', '从服务器获取您的消息失败!请联系系统维护人员!');
                    });
            $http.get('/messages/new/list/5')
                    .success(function (data) {
                        $scope.newMessageList = data;
                    });
        });
    </script>
    <style type="text/css">
    	.header{
    		background-color: #F8F8F8;
    		height: 80px
    	}
    	.logo{
    		padding-top:0;
    		background-image: url(/image/logo.png);    		
    		width: 600px
    	}
    	.navbar-brand{
    		height: 65px;
    	}
    </style>
</head>
<body>
<div id="wrapper">

    <!-- Navigation -->
    <nav class="navbar navbar-default navbar-static-top navbar-inverse header"
         role="navigation" style="margin-bottom: 0;" ng-controller="NavCtrl">

        <div class="navbar-header ">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">切换模式</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand logo" href="#/"></a>
        </div>

        <%-- 顶部导航栏右侧的内容 --%>
        <ul class="nav navbar-top-links navbar-right">
            <%-- 消息 --%>
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0);">
                    <i class="fa fa-envelope fa-fw"></i>
                    <span class="badge" id="newMessageBadge"></span>
                    <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-messages">
                    <li ng-if="!newMessageList || newMessageList.length == 0">
                        <div class="text-center">暂无任何新消息</div>
                    </li>
                    <li ng-repeat="message in newMessageList">
                        <a href="#/viewMessages" ng-click="$('#newMessageBadge').text('');">
                            <div>
                                <strong>{{message.sender ? message.sender.name : '系统信息'}}</strong>
                                    <span class="pull-right text-muted">
                                        <em>{{message.sendTime | date : 'yyyy-MM-d'}}</em>
                                    </span>
                            </div>
                            <div>{{message.content | limitTo : 20}}…</div>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a class="text-center" href="#/viewMessages" ng-click="$('#newMessageBadge').text('');">
                            <strong>查看所有消息</strong>
                            <i class="fa fa-angle-right"></i>
                        </a>
                    </li>
                </ul>
            </li>
            <%-- 个人管理 --%>
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0);">
                    <i class="fa fa-user fa-fw"></i> <span>{{delegate.name}}</span> <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-user">
                    <li><a href="/delegate/exit"><i class="fa fa-sign-out fa-fw"></i>退出登录</a>
                    </li>
                </ul>
            </li>
        </ul>

        <%-- 左侧导航 --%>
        <div class="navbar-default sidebar" role="navigation" style="margin-top: 80px">
            <div class="sidebar-nav navbar-collapse">
                <ul class="nav" id="side-menu">
                    <!-- 主页栏 -->
                    <li>
                        <a href="#/"><i class="fa fa-desktop fa-fw"></i>主页</a>
                    </li>

                    <li ng-repeat="element in navCategory" ng-init="navCategory != null" metis="">
                        <a ng-href="{{(element.href && element.href!='') ? '#/'+element.href : 'javascript:void(0)'}}">
                            <i ng-class="element.icon" ng-if="element.icon && element.icon != ''"></i>
                            <i class="fa fa-circle fa-fw" ng-if="!element.icon || element.icon == ''"></i>
                            {{element.description}}
                            <span class="fa arrow" ng-if="element.child.length > 0"></span>
                        </a>

                        <ul class="nav nav-second-level"
                            ng-if="element.child.length > 0">
                            <li ng-repeat="childElement in element.child">
                                <a ng-href="{{(childElement.href && childElement.href!='') ? '#/'+childElement.href : 'javascript:void(0)'}}">
                                    <i ng-class="childElement.icon"
                                       ng-if="childElement.icon && childElement.icon != ''"></i>

                                    <i class="fa fa-circle fa-fw"
                                       ng-if="!childElement.icon || childElement.icon == ''"></i>

                                    {{childElement.description}}
                                </a>
                            </li>
                        </ul>
                    </li>
                    <%--<!-- 多级下拉菜单模板 -->
                    <li>
                        <a href="#"><i class="fa fa-sitemap fa-fw"></i> Multi-Level Dropdown<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li>
                                <a href="#">Second Level Item</a>
                            </li>
                            <li>
                                <a href="#">Second Level Item</a>
                            </li>
                            <li>
                                <a href="#">Third Level <span class="fa arrow"></span></a>
                                <ul class="nav nav-third-level">
                                    <li>
                                        <a href="#">Third Level Item</a>
                                    </li>
                                    <li>
                                        <a href="#">Third Level Item</a>
                                    </li>
                                    <li>
                                        <a href="#">Third Level Item</a>
                                    </li>
                                    <li>
                                        <a href="#">Third Level Item</a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </li>--%>
                    <li>
                        <a href="/login"><i class="fa fa-reply fa-fw"></i>退出系统</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <!--------------------------->
    <div id="page-wrapper" ng-view>
        <%--
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">Dashboard</h1>
            </div>
            <!-- /.col-lg-12 -->
        </div>
        <!-- /.row -->
        <div class="row">
            <div class="col-lg-3 col-md-6">
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <div class="row">
                            <div class="col-xs-3">
                                <i class="fa fa-comments fa-5x"></i>
                            </div>
                            <div class="col-xs-9 text-right">
                                <div class="huge">26</div>
                                <div>New Comments!</div>
                            </div>
                        </div>
                    </div>
                    <a href="#">
                        <div class="panel-footer">
                            <span class="pull-left">View Details</span>
                            <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                            <div class="clearfix"></div>
                        </div>
                    </a>
                </div>
            </div>
            <div class="col-lg-3 col-md-6">
                <div class="panel panel-green">
                    <div class="panel-heading">
                        <div class="row">
                            <div class="col-xs-3">
                                <i class="fa fa-tasks fa-5x"></i>
                            </div>
                            <div class="col-xs-9 text-right">
                                <div class="huge">12</div>
                                <div>New Tasks!</div>
                            </div>
                        </div>
                    </div>
                    <a href="#">
                        <div class="panel-footer">
                            <span class="pull-left">View Details</span>
                            <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                            <div class="clearfix"></div>
                        </div>
                    </a>
                </div>
            </div>
            <div class="col-lg-3 col-md-6">
                <div class="panel panel-yellow">
                    <div class="panel-heading">
                        <div class="row">
                            <div class="col-xs-3">
                                <i class="fa fa-shopping-cart fa-5x"></i>
                            </div>
                            <div class="col-xs-9 text-right">
                                <div class="huge">124</div>
                                <div>New Orders!</div>
                            </div>
                        </div>
                    </div>
                    <a href="#">
                        <div class="panel-footer">
                            <span class="pull-left">View Details</span>
                            <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                            <div class="clearfix"></div>
                        </div>
                    </a>
                </div>
            </div>
            <div class="col-lg-3 col-md-6">
                <div class="panel panel-red">
                    <div class="panel-heading">
                        <div class="row">
                            <div class="col-xs-3">
                                <i class="fa fa-support fa-5x"></i>
                            </div>
                            <div class="col-xs-9 text-right">
                                <div class="huge">13</div>
                                <div>Support Tickets!</div>
                            </div>
                        </div>
                    </div>
                    <a href="#">
                        <div class="panel-footer">
                            <span class="pull-left">View Details</span>
                            <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                            <div class="clearfix"></div>
                        </div>
                    </a>
                </div>
            </div>
        </div>
        <!-- /.row -->
        <div class="row">
            <div class="col-lg-8">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <i class="fa fa-bar-chart-o fa-fw"></i> Area Chart Example
                        <div class="pull-right">
                            <div class="btn-group">
                                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                                    Actions
                                    <span class="caret"></span>
                                </button>
                                <ul class="dropdown-menu pull-right" role="menu">
                                    <li><a href="#">Action</a>
                                    </li>
                                    <li><a href="#">Another action</a>
                                    </li>
                                    <li><a href="#">Something else here</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li><a href="#">Separated link</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">
                        <div id="morris-area-chart"></div>
                    </div>
                    <!-- /.panel-body -->
                </div>
                <!-- /.panel -->
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <i class="fa fa-bar-chart-o fa-fw"></i> Bar Chart Example
                        <div class="pull-right">
                            <div class="btn-group">
                                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                                    Actions
                                    <span class="caret"></span>
                                </button>
                                <ul class="dropdown-menu pull-right" role="menu">
                                    <li><a href="#">Action</a>
                                    </li>
                                    <li><a href="#">Another action</a>
                                    </li>
                                    <li><a href="#">Something else here</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li><a href="#">Separated link</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">
                        <div class="row">
                            <div class="col-lg-4">
                                <div class="table-responsive">
                                    <table class="table table-bordered table-hover table-striped">
                                        <thead>
                                        <tr>
                                            <th>#</th>
                                            <th>Date</th>
                                            <th>Time</th>
                                            <th>Amount</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        <tr>
                                            <td>3326</td>
                                            <td>10/21/2013</td>
                                            <td>3:29 PM</td>
                                            <td>$321.33</td>
                                        </tr>
                                        <tr>
                                            <td>3325</td>
                                            <td>10/21/2013</td>
                                            <td>3:20 PM</td>
                                            <td>$234.34</td>
                                        </tr>
                                        <tr>
                                            <td>3324</td>
                                            <td>10/21/2013</td>
                                            <td>3:03 PM</td>
                                            <td>$724.17</td>
                                        </tr>
                                        <tr>
                                            <td>3323</td>
                                            <td>10/21/2013</td>
                                            <td>3:00 PM</td>
                                            <td>$23.71</td>
                                        </tr>
                                        <tr>
                                            <td>3322</td>
                                            <td>10/21/2013</td>
                                            <td>2:49 PM</td>
                                            <td>$8345.23</td>
                                        </tr>
                                        <tr>
                                            <td>3321</td>
                                            <td>10/21/2013</td>
                                            <td>2:23 PM</td>
                                            <td>$245.12</td>
                                        </tr>
                                        <tr>
                                            <td>3320</td>
                                            <td>10/21/2013</td>
                                            <td>2:15 PM</td>
                                            <td>$5663.54</td>
                                        </tr>
                                        <tr>
                                            <td>3319</td>
                                            <td>10/21/2013</td>
                                            <td>2:13 PM</td>
                                            <td>$943.45</td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <!-- /.table-responsive -->
                            </div>
                            <!-- /.col-lg-4 (nested) -->
                            <div class="col-lg-8">
                                <div id="morris-bar-chart"></div>
                            </div>
                            <!-- /.col-lg-8 (nested) -->
                        </div>
                        <!-- /.row -->
                    </div>
                    <!-- /.panel-body -->
                </div>
                <!-- /.panel -->
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <i class="fa fa-clock-o fa-fw"></i> Responsive Timeline
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">
                        <ul class="timeline">
                            <li>
                                <div class="timeline-badge"><i class="fa fa-check"></i>
                                </div>
                                <div class="timeline-panel">
                                    <div class="timeline-heading">
                                        <h4 class="timeline-title">Lorem ipsum dolor</h4>
                                        <p><small class="text-muted"><i class="fa fa-clock-o"></i> 11 hours ago via Twitter</small>
                                        </p>
                                    </div>
                                    <div class="timeline-body">
                                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Libero laboriosam dolor perspiciatis omnis exercitationem. Beatae, officia pariatur? Est cum veniam excepturi. Maiores praesentium, porro voluptas suscipit facere rem dicta, debitis.</p>
                                    </div>
                                </div>
                            </li>
                            <li class="timeline-inverted">
                                <div class="timeline-badge warning"><i class="fa fa-credit-card"></i>
                                </div>
                                <div class="timeline-panel">
                                    <div class="timeline-heading">
                                        <h4 class="timeline-title">Lorem ipsum dolor</h4>
                                    </div>
                                    <div class="timeline-body">
                                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem dolorem quibusdam, tenetur commodi provident cumque magni voluptatem libero, quis rerum. Fugiat esse debitis optio, tempore. Animi officiis alias, officia repellendus.</p>
                                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium maiores odit qui est tempora eos, nostrum provident explicabo dignissimos debitis vel! Adipisci eius voluptates, ad aut recusandae minus eaque facere.</p>
                                    </div>
                                </div>
                            </li>
                            <li>
                                <div class="timeline-badge danger"><i class="fa fa-bomb"></i>
                                </div>
                                <div class="timeline-panel">
                                    <div class="timeline-heading">
                                        <h4 class="timeline-title">Lorem ipsum dolor</h4>
                                    </div>
                                    <div class="timeline-body">
                                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus numquam facilis enim eaque, tenetur nam id qui vel velit similique nihil iure molestias aliquam, voluptatem totam quaerat, magni commodi quisquam.</p>
                                    </div>
                                </div>
                            </li>
                            <li class="timeline-inverted">
                                <div class="timeline-panel">
                                    <div class="timeline-heading">
                                        <h4 class="timeline-title">Lorem ipsum dolor</h4>
                                    </div>
                                    <div class="timeline-body">
                                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates est quaerat asperiores sapiente, eligendi, nihil. Itaque quos, alias sapiente rerum quas odit! Aperiam officiis quidem delectus libero, omnis ut debitis!</p>
                                    </div>
                                </div>
                            </li>
                            <li>
                                <div class="timeline-badge info"><i class="fa fa-save"></i>
                                </div>
                                <div class="timeline-panel">
                                    <div class="timeline-heading">
                                        <h4 class="timeline-title">Lorem ipsum dolor</h4>
                                    </div>
                                    <div class="timeline-body">
                                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis minus modi quam ipsum alias at est molestiae excepturi delectus nesciunt, quibusdam debitis amet, beatae consequuntur impedit nulla qui! Laborum, atque.</p>
                                        <hr>
                                        <div class="btn-group">
                                            <button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">
                                                <i class="fa fa-gear"></i>  <span class="caret"></span>
                                            </button>
                                            <ul class="dropdown-menu" role="menu">
                                                <li><a href="#">Action</a>
                                                </li>
                                                <li><a href="#">Another action</a>
                                                </li>
                                                <li><a href="#">Something else here</a>
                                                </li>
                                                <li class="divider"></li>
                                                <li><a href="#">Separated link</a>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </li>
                            <li>
                                <div class="timeline-panel">
                                    <div class="timeline-heading">
                                        <h4 class="timeline-title">Lorem ipsum dolor</h4>
                                    </div>
                                    <div class="timeline-body">
                                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi fuga odio quibusdam. Iure expedita, incidunt unde quis nam! Quod, quisquam. Officia quam qui adipisci quas consequuntur nostrum sequi. Consequuntur, commodi.</p>
                                    </div>
                                </div>
                            </li>
                            <li class="timeline-inverted">
                                <div class="timeline-badge success"><i class="fa fa-graduation-cap"></i>
                                </div>
                                <div class="timeline-panel">
                                    <div class="timeline-heading">
                                        <h4 class="timeline-title">Lorem ipsum dolor</h4>
                                    </div>
                                    <div class="timeline-body">
                                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt obcaecati, quaerat tempore officia voluptas debitis consectetur culpa amet, accusamus dolorum fugiat, animi dicta aperiam, enim incidunt quisquam maxime neque eaque.</p>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </div>
                    <!-- /.panel-body -->
                </div>
                <!-- /.panel -->
            </div>
            <!-- /.col-lg-8 -->
            <div class="col-lg-4">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <i class="fa fa-bell fa-fw"></i> Notifications Panel
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">
                        <div class="list-group">
                            <a href="#" class="list-group-item">
                                <i class="fa fa-comment fa-fw"></i> New Comment
                                    <span class="pull-right text-muted small"><em>4 minutes ago</em>
                                    </span>
                            </a>
                            <a href="#" class="list-group-item">
                                <i class="fa fa-twitter fa-fw"></i> 3 New Followers
                                    <span class="pull-right text-muted small"><em>12 minutes ago</em>
                                    </span>
                            </a>
                            <a href="#" class="list-group-item">
                                <i class="fa fa-envelope fa-fw"></i> Message Sent
                                    <span class="pull-right text-muted small"><em>27 minutes ago</em>
                                    </span>
                            </a>
                            <a href="#" class="list-group-item">
                                <i class="fa fa-tasks fa-fw"></i> New Task
                                    <span class="pull-right text-muted small"><em>43 minutes ago</em>
                                    </span>
                            </a>
                            <a href="#" class="list-group-item">
                                <i class="fa fa-upload fa-fw"></i> Server Rebooted
                                    <span class="pull-right text-muted small"><em>11:32 AM</em>
                                    </span>
                            </a>
                            <a href="#" class="list-group-item">
                                <i class="fa fa-bolt fa-fw"></i> Server Crashed!
                                    <span class="pull-right text-muted small"><em>11:13 AM</em>
                                    </span>
                            </a>
                            <a href="#" class="list-group-item">
                                <i class="fa fa-warning fa-fw"></i> Server Not Responding
                                    <span class="pull-right text-muted small"><em>10:57 AM</em>
                                    </span>
                            </a>
                            <a href="#" class="list-group-item">
                                <i class="fa fa-shopping-cart fa-fw"></i> New Order Placed
                                    <span class="pull-right text-muted small"><em>9:49 AM</em>
                                    </span>
                            </a>
                            <a href="#" class="list-group-item">
                                <i class="fa fa-money fa-fw"></i> Payment Received
                                    <span class="pull-right text-muted small"><em>Yesterday</em>
                                    </span>
                            </a>
                        </div>
                        <!-- /.list-group -->
                        <a href="#" class="btn btn-default btn-block">View All Alerts</a>
                    </div>
                    <!-- /.panel-body -->
                </div>
                <!-- /.panel -->
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <i class="fa fa-bar-chart-o fa-fw"></i> Donut Chart Example
                    </div>
                    <div class="panel-body">
                        <div id="morris-donut-chart"></div>
                        <a href="#" class="btn btn-default btn-block">View Details</a>
                    </div>
                    <!-- /.panel-body -->
                </div>
                <!-- /.panel -->
                <div class="chat-panel panel panel-default">
                    <div class="panel-heading">
                        <i class="fa fa-comments fa-fw"></i>
                        Chat
                        <div class="btn-group pull-right">
                            <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                                <i class="fa fa-chevron-down"></i>
                            </button>
                            <ul class="dropdown-menu slidedown">
                                <li>
                                    <a href="#">
                                        <i class="fa fa-refresh fa-fw"></i> Refresh
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <i class="fa fa-check-circle fa-fw"></i> Available
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <i class="fa fa-times fa-fw"></i> Busy
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <i class="fa fa-clock-o fa-fw"></i> Away
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a href="#">
                                        <i class="fa fa-sign-out fa-fw"></i> Sign Out
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">
                        <ul class="chat">
                            <li class="left clearfix">
                                    <span class="chat-img pull-left">
                                        <img src="http://placehold.it/50/55C1E7/fff" alt="User Avatar" class="img-circle" />
                                    </span>
                                <div class="chat-body clearfix">
                                    <div class="header">
                                        <strong class="primary-font">Jack Sparrow</strong>
                                        <small class="pull-right text-muted">
                                            <i class="fa fa-clock-o fa-fw"></i> 12 mins ago
                                        </small>
                                    </div>
                                    <p>
                                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
                                    </p>
                                </div>
                            </li>
                            <li class="right clearfix">
                                    <span class="chat-img pull-right">
                                        <img src="http://placehold.it/50/FA6F57/fff" alt="User Avatar" class="img-circle" />
                                    </span>
                                <div class="chat-body clearfix">
                                    <div class="header">
                                        <small class=" text-muted">
                                            <i class="fa fa-clock-o fa-fw"></i> 13 mins ago</small>
                                        <strong class="pull-right primary-font">Bhaumik Patel</strong>
                                    </div>
                                    <p>
                                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
                                    </p>
                                </div>
                            </li>
                            <li class="left clearfix">
                                    <span class="chat-img pull-left">
                                        <img src="http://placehold.it/50/55C1E7/fff" alt="User Avatar" class="img-circle" />
                                    </span>
                                <div class="chat-body clearfix">
                                    <div class="header">
                                        <strong class="primary-font">Jack Sparrow</strong>
                                        <small class="pull-right text-muted">
                                            <i class="fa fa-clock-o fa-fw"></i> 14 mins ago</small>
                                    </div>
                                    <p>
                                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
                                    </p>
                                </div>
                            </li>
                            <li class="right clearfix">
                                    <span class="chat-img pull-right">
                                        <img src="http://placehold.it/50/FA6F57/fff" alt="User Avatar" class="img-circle" />
                                    </span>
                                <div class="chat-body clearfix">
                                    <div class="header">
                                        <small class=" text-muted">
                                            <i class="fa fa-clock-o fa-fw"></i> 15 mins ago</small>
                                        <strong class="pull-right primary-font">Bhaumik Patel</strong>
                                    </div>
                                    <p>
                                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
                                    </p>
                                </div>
                            </li>
                        </ul>
                    </div>
                    <!-- /.panel-body -->
                    <div class="panel-footer">
                        <div class="input-group">
                            <input id="btn-input" type="text" class="form-control input-sm" placeholder="Type your message here..." />
                                <span class="input-group-btn">
                                    <button class="btn btn-warning btn-sm" id="btn-chat">
                                        Send
                                    </button>
                                </span>
                        </div>
                    </div>
                    <!-- /.panel-footer -->
                </div>
                <!-- /.panel .chat-panel -->
            </div>
            <!-- /.col-lg-4 -->
        </div>
        <!-- /.row -->--%>
    </div>

    <footer class="panel-footer navbar-fixed-bottom">
        <div class="container">
            <%@include file="../footer.jsp"%>
        </div>
    </footer>
</div>
</body>
</html>